package etnorservice.etnor_service.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface RestrictedDirectoryMapper {
    @Select("SELECT EXISTS(SELECT 1 FROM restricted_directories WHERE directory_path = #{directoryPath})")
    boolean existsByDirectoryPath(String directoryPath);
}